def options(ctx): pass

def configure(ctx): pass

def build(bld):
  bld.shlib(
    source = [
      'graph_base.cpp',
      'graph_wo_index.cpp',
      'graph_factory.cpp'
      ],
    target = 'jubatus_graph',
    name = 'jubatus_graph',
    includes = '.',
    use = 'PFICOMMON')

  def make_test(s):
    bld.program(
      features = 'gtest',
      source = s,
      target = s[0:s.rfind('.')],
      includes = '.',
      use = 'PFICOMMON jubatus_graph')

  map(make_test, [
      'graph_wo_index_test.cpp',
      ])
